package logic;

import java.util.ArrayList;
import vo.*;
import logicservice.*;
	
public class StrategyLService_Stub implements StrategyLService{
	
	public StrategyLService_Stub(){
		
	}

	public ArrayList<StrategyVo> getStrategy(){
		System.out.println("get strategy succeed");
		ArrayList<StrategyVo> strList = new ArrayList<StrategyVo>();
		strList.add(new StrategyVo());
		return strList;
	}

	public String updateStrategy(ArrayList<StrategyVo> info){
		return "update strategy succeed";
	}
}

class StrategyView{
	public static void main(String[] args){
		StrategyLService strategyl = new StrategyLService_Stub();
		ArrayList<StrategyVo> strList = strategyl.getStrategy();
		
		String strategy = strategyl.updateStrategy(strList);
		System.out.println(strategy);
	}
}
